.top-bar {
  height: 48px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.menu-icon .icon {
  width: 18px;
  height: 48px;
  position: relative;
}
.menu-icon .icon li {
  width: 18px;
  height: 1px;
  background-color: #ffffff;
  position: absolute;
  transform-origin: left center;
  transition: 0.5s;
}
.menu-icon .icon li:nth-child(1) {
  top: 18px;
}
.menu-icon .icon li:nth-child(2) {
  top: 24px;
}
.menu-icon .icon li:nth-child(3) {
  top: 30px;
}
.menu-icon .icon:hover li:nth-child(1) {
  transform: rotateZ(40deg);
}
.menu-icon .icon:hover li:nth-child(2) {
  opacity: 0;
}
.menu-icon .icon:hover li:nth-child(3) {
  transform: rotateZ(-40deg);
}
